package com.fauks.ssm.springmvc.annotation.bean;

public class Dog {
    private String name;
    private Leg leg;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Leg getLeg() {
        return leg;
    }

    public void setLeg(Leg leg) {
        this.leg = leg;
    }

    @Override
    public String toString() {
        return "Dog{" +
                "name='" + name + '\'' +
                ", leg=" + leg +
                '}';
    }
}
